//some bool tests
object BoolTest {
	def main() : Unit = {
		println(new Boolt().computeBooltest());
	}
}

class Boolt {
	def computeBooltest() : String = {
		println(new Boolt().Or());
		println("//////");
		println(new Boolt().And());
		println("//////");
		return "End";
	}
	def Or() : Bool = {
		var tab1 : Int[];
		var tab2 : Int[];
		var tab3 : Int[];
		tab1 = new Int[2];
		tab2 = new Int[2];
		tab3 = new Int[2];
		tab1[0] = 0;
		tab1[1] = 0;
		tab2[0] = 0;
		tab2[1] = 1;
		tab3[0] = 1;
		tab3[1] = 1;	
		if ((tab1[0] == 1) || (tab1[1] == 1)) println(true); else println(false);
		if ((tab2[0] == 1) || (tab2[1] == 1)) println(true); else println(false);
		if ((tab3[0] == 1) || (tab3[1] == 1)) println(true); else println(false);
		println("//////");
		return true;
	}
	def And() : Bool = {
		var tab1 : Int[];
		var tab2 : Int[];
		var tab3 : Int[];
		tab1 = new Int[2];
		tab2 = new Int[2];
		tab3 = new Int[2];
		tab1[0] = 0;
		tab1[1] = 0;
		tab2[0] = 0;
		tab2[1] = 1;
		tab3[0] = 1;
		tab3[1] = 1;
		if((tab1[0] == 1) && (tab1[1] == 1)) println(true); else println(false);
		if((tab2[0] == 1) && (tab2[1] == 1)) println(true); else println(false);
		if((tab3[0] == 1) && (tab3[1] == 1)) println(true); else println(false);
		println("//////");
		return true;
	}
}


